package com.xujianlun.cpms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author xujianlun
 * @since 2022-12-21
 */
@Getter
@Setter
@TableName("t_access")
@ApiModel(value = "TAccess对象", description = "")
public class TAccess implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户的id")
    private Integer userId;

    @ApiModelProperty("选择进出区域")
    private String localName;

    @ApiModelProperty("联系手机号")
    private String telphone;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("温度")
    private BigDecimal temperature;

    @ApiModelProperty("健康吗颜色")
    private String heathCode;

    @ApiModelProperty("健康码图片")
    private String heathImg;

    @ApiModelProperty("打卡时间")
    private String time;

    @ApiModelProperty("状态码，1为进，0为出")
    private String state;

    @ApiModelProperty("审核状态，1为允许，0为拒绝，默认为2待审核")
    private String process;

    @ApiModelProperty("其他备注")
    private String remarks;

}
